<html>
<head><meta charset="utf-8"><title>build stage0 as nightly · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html">build stage0 as nightly</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214243026"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214243026" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214243026">(Oct 22 2020 at 20:19)</a>:</h4>
<p>Hey,<br>
Is it possible to build stage0 rustc, that allows enabling features?<br>
If I build stage1 rustc it works, but it doesn't work with stage0</p>



<a name="214245342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245342">(Oct 22 2020 at 20:40)</a>:</h4>
<p>you can use <code>RUSTC_BOOTSTRAP=1</code></p>



<a name="214245513"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245513" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245513">(Oct 22 2020 at 20:42)</a>:</h4>
<p>Thank you <span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="214245657"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245657" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245657">(Oct 22 2020 at 20:43)</a>:</h4>
<p>Now I don't have any stdout output (from my <code>dbg!</code> invocations <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span></p>



<a name="214245745"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245745" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245745">(Oct 22 2020 at 20:44)</a>:</h4>
<p>stage0 is an existing compiler, not one you built locally</p>



<a name="214245761"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245761" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245761">(Oct 22 2020 at 20:44)</a>:</h4>
<p>for the master branch, it will be a beta snapshot unless you specify otherwise</p>



<a name="214245840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245840">(Oct 22 2020 at 20:45)</a>:</h4>
<p>oh okay. Apparently I have not yet understood bootstraping <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="214245962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214245962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214245962">(Oct 22 2020 at 20:46)</a>:</h4>
<p><a href="https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html#understanding-stages-of-bootstrap">https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html#understanding-stages-of-bootstrap</a></p>



<a name="214246203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214246203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214246203">(Oct 22 2020 at 20:48)</a>:</h4>
<p>Only the <code>T-infra</code> gurus understand bootstrapping :D</p>



<a name="214246428"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/build%20stage0%20as%20nightly/near/214246428" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/build.20stage0.20as.20nightly.html#214246428">(Oct 22 2020 at 20:51)</a>:</h4>
<p>I am not in t-infra and don't want to be <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>